package com.loong.loong.hik.api.entity.resource;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 【门禁控制器】AcsDeviceDTO属性说明
 * @author jinyiang
 * @date 2023/3/22 10:03
 */
@Data
@TableName("hik_resource_door")
public class HikResourceDoor {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "门禁设备唯一标识")
	@TableId(value = "index_code", type = IdType.ASSIGN_UUID)
	private String indexCode;

	@ApiModelProperty(value = "门禁设备名称")
	@TableField("name")
	private String name;

	@ApiModelProperty(value = "资源类型")
	@TableField("resource_type")
	private String resourceType;

	@ApiModelProperty(value = "主动设备编号")
	@TableField("device_code")
	private String deviceCode;

	@ApiModelProperty(value = "门禁设备类型编码")
	@TableField("dev_type_code")
	private String devTypeCode;

	@ApiModelProperty(value = "门禁设备类型型号")
	@TableField("dev_type_desc")
	private String devTypeDesc;

	@ApiModelProperty(value = "门禁设备IP")
	@TableField("ip")
	private String ip;

	@ApiModelProperty(value = "厂商")
	@TableField("manufacturer")
	private String manufacturer;

	@ApiModelProperty(value = "门禁设备port")
	@TableField("port")
	private String port;

	@ApiModelProperty(value = "描述")
	@TableField("description")
	private String description;

	@ApiModelProperty(value = "设备所属区域唯一标识")
	@TableField("region_index_code")
	private String regionIndexCode;

	@ApiModelProperty(value = "所属区域路径")
	@TableField("region_path")
	private String regionPath;

	@ApiModelProperty(value = "接入协议")
	@TableField("treaty_type")
	private String treatyType;

	@ApiModelProperty(value = "设备能力集")
	@TableField("capability")
	private String capability;

	@ApiModelProperty(value = "设备卡容量")
	@TableField("card_capacity")
	private Integer cardCapacity;

	@ApiModelProperty(value = "门禁设备指纹容量")
	@TableField("finger_capacity")
	private Integer fingerCapacity;

	@ApiModelProperty(value = "门禁设备指静脉容量")
	@TableField("vein_capacity")
	private Integer veinCapacity;

	@ApiModelProperty(value = "门禁设备人脸容量")
	@TableField("face_capacity")
	private Integer faceCapacity;

	@ApiModelProperty(value = "门禁设备门容量")
	@TableField("door_capacity")
	private Integer doorCapacity;

	@ApiModelProperty(value = "父级资源编号")
	@TableField("parent_index_code")
	private String parentIndexCode;

	@ApiModelProperty(value = "拨码")
	@TableField("deploy_id")
	private String deployId;

	@ApiModelProperty(value = "创建时间")
	@TableField(value = "create_time", fill = FieldFill.INSERT)
	@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
	@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
	private Date updateTime;

	@ApiModelProperty(value = "萤石的用户ID")
	@TableField("user_id")
	private String userId;
}
